export const addSchema: FormSchema = {
    "style": {
        "width": "auto"
    },
    "formItemLayout": {
        "labelCol": {
            "span": 6
        },
        "wrapperCol": {
            "span": 18
        }
    },
    "formItem": [
        {
            "type": "input",
            "label": "策略名称",
            "key": "name",
            "value": "",
            "props": {
                "placeholder": "策略名称"
            },
            "rules": [
                {
                    "required": true,
                    "message": "策略名称不能为空"
                }
            ]
        },
        {
            "type": "select",
            "label": "安全标记",
            "key": "safemark",
            "value": 1,
            "options": [
                {
                    "value": 1,
                    "label": "高级"
                },
                {
                    "value": 3,
                    "label": "低级"
                }
            ]
        },
        {
            "type": "select",
            "label": "完整性标记",
            "key": "completemark",
            "value": 1,
            "options": [
                {
                    "value": 1,
                    "label": "高级"
                },
                {
                    "value": 3,
                    "label": "低级"
                }
            ]
        },
        {
            "type": "select",
            "label": "允许修改注册表",
            "key": "register",
            "value": 0,
            "options": [
                {
                    "value": 0,
                    "label": "否"
                },
                {
                    "value": 1,
                    "label": "是"
                }
            ]
        },
        {
            "type": "select",
            "label": "高级权限",
            "key": "processprotect",
            "value": 0,
            "options": [
                {
                    "value": 0,
                    "label": "否"
                },
                {
                    "value": 1,
                    "label": "是"
                }
            ]
        }
    ]
}
